package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师在国内外重要学术组织任职主要负责人对象 t_w_teacher
 * 
 * @author ruoyi
 * @date 2024-12-08
 */
public class TWTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String name;

    /** 学术组织名称 */
    @Excel(name = "学术组织名称")
    private String gName;

    /** 担任职务 */
    @Excel(name = "担任职务")
    private String zw;

    /** 任职开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任职开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date satrtTime;

    /** 任职结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任职结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 年度 */
    @Excel(name = "年度")
    private String tYear;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setgName(String gName) 
    {
        this.gName = gName;
    }

    public String getgName() 
    {
        return gName;
    }
    public void setZw(String zw) 
    {
        this.zw = zw;
    }

    public String getZw() 
    {
        return zw;
    }
    public void setSatrtTime(Date satrtTime) 
    {
        this.satrtTime = satrtTime;
    }

    public Date getSatrtTime() 
    {
        return satrtTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void settYear(String tYear) 
    {
        this.tYear = tYear;
    }

    public String gettYear() 
    {
        return tYear;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("gName", getgName())
            .append("zw", getZw())
            .append("satrtTime", getSatrtTime())
            .append("endTime", getEndTime())
            .append("tYear", gettYear())
            .toString();
    }
}
